package com.greatmay.service;

import java.util.List;

import javax.jws.WebService;
import javax.ws.rs.GET;
import javax.ws.rs.Path;

import com.greatmay.model.Book;

/**
 * Business Service Interface to handle communication between web and
 * persistence layer.
 *
 * @author <a href="mailto:dan@getrolling.com">Dan Kibler </a>
 */
@WebService
@Path("/books")
public interface BookService extends GenericManager<Book, Long> {
    /**
     * {@inheritDoc}
     */
    @GET
    List<Book> loadAll();
}
